package com.xq.shop.dao.mapper;

import com.xq.shop.dao.domain.entity.OrderGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xq.shop.dto.IntegerDto;
import com.xq.shop.vo.OrderGoodsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单商品表 Mapper 接口
 * </p>
 *
 * @author gaoxiaojin
 * @since 2024-07-30
 */
public interface OrderGoodsMapper extends BaseMapper<OrderGoods> {

    List<OrderGoodsVo> getOrderGoodsById(@Param("dto") IntegerDto dto);

    List<OrderGoods> getGoodsQuotationHistory(@Param("dto") IntegerDto dto);
}
